package routes

import (
	"github.com/kataras/iris/v12"
	"my_iris/global"
	"my_iris/utils"
)

// newResp 输出json用
func newResp(ctx iris.Context) *utils.Resp {
	return utils.NewResp(ctx, global.SiteConf.IsProd)
}
